package org.wlgzs.office_exam_student.servlet;

import java.io.File;
import java.io.IOException;
import java.net.URL;

import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
*@author song(mejeesong@qq.com)
*2018年4月6日
*
*/
@WebServlet("/question")
public class QuestionServlet extends BaseServlet{
	//
	private static final long serialVersionUID = 1L;

	private File dir = null;
	
	@Override
	public void init(ServletConfig config) throws ServletException {
		URL url = this.getClass().getClassLoader().getResource("questions");
		if(url != null) {
			String dirStr = url.getFile();
			dir = new File(dirStr);
		}
	}
			
	
	@Override
	protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
		
	}
}
